home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Night Owl 6
/
Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso
/
023a
/
prop_man.zip
/
WORK.SAB
< prev
Wrap
Text File
|
1991-10-15
|
2KB
|
54 lines
label start
cls
display cp.dis
write "WORK.SAB" AT 2,36
Write "Work Orders" at 5,34
set v opn to ""
write "A...... Enter A New Work Order " at 8,10
write "B...... Run Report Of Uncompleted Work Orders " at 9,10
write "C...... Enter Work Order Completion Date(s) " at 10,10
write "....... " at 11,10
write "....... " at 12,10
write "....... " at 13,10
fil opn usi "Enter Selection, ADD.CODE, Order Number Or <ESC> " at 15,10
if opn = "" then ; goto fin ; endif
if opn = "a" or opn = "A" then ; goto opa ; endif
if opn = "b" or opn = "B" then ; goto opb ; endif
if opn = "c" or opn = "C" then ; goto opc ; endif
edit using edwork where add.code = .opn
edit using edwork where ord.numb = .opn
goto start
label opa
enter newwork
goto start
label opb
out pri
print work where done fails
out scr
goto start
label opc
set v whch to ""
cls
display cp.dis
write "WORK.SAB" at 2,36
fillin whch using "Enter Entire Order Number (Or <ESC>) -> " at 10,10
if whch = "" then ; goto start ; endif
set v nam to tenant1 in work where ord.numb = .whch
set v adr to address in work where ord.numb = .whch
set v don to done in work where ord.numb = .whch
write .nam at 12,10
write .adr at 13,10
write .don at 14,10
set v y/n to ""
fillin y/n using "Is This The Work Order To Clear? " at 16,10
if y/n = "y" or y/n = "Y" then ; goto yes ; endif
goto opc
label yes
change done to .#date in work where ord.numb = .whch
goto start
label fin
cls
clear all v
return